﻿@model SecureDataCMS.Models.NewLoginModel

@{
    ViewBag.Title = "Index";
}

<h1>Login</h1>

<h2>Login with your staff email and password</h2>

<section id="loginForm">
    @using (Html.BeginForm())
    {
        <fieldset>
            <legend>Log in form</legend>
            <ol>
                <li>
                    @Html.LabelFor(m => m.UserName)
                    @Html.TextBoxFor(m => m.UserName)
                </li>
                <li>
                    @Html.LabelFor(m => m.Password)
                    @Html.PasswordFor(m => m.Password)
                </li>
            </ol>
            <input type="submit" value="Log In"/>
        </fieldset>
        <p>@ViewBag.Error</p>
    }
</section>

